package com.party.business.domain;

import java.math.BigDecimal;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.party.common.annotation.Excel;
import com.party.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 考试试题对象 t_ks_question
 *
 * @author ruoyi
 * @date 2024-11-09
 */
@Data
@TableName(value = "t_ks_question")
@EqualsAndHashCode(callSuper = true)
public class TKsQuestion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * "试题Id"
     */
    @Excel(name = "试题Id")
    private String quId;

    /**
     * "考试Id"
     */
    @Excel(name = "考试Id")
    private String ksId;

    /**
     * "分值"
     */
    @Excel(name = "分值")
    private BigDecimal score;

    private String delFlag;

    /**
     * "分类名称"
     */
    @TableField(exist = false)
    private String typeName;

    /**
     * "题目名称"
     */
    @TableField(exist = false)
    private String title;

    /**
     * "类型  1判断 2选择 "
     */
    @TableField(exist = false)
    private String quType;

        /**
     * "解析"
     */
    @TableField(exist = false)
    private String content;




    /**
     * "类型  试题选项 "
     */
    @TableField(exist = false)
    private List<TQuestionOption> questionOptionList;



    // 用户答案
    @TableField(exist = false)
    private String  userAnswer;







}
